package com.xique.door.bean.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xique.common.core.annotation.Excel;
import com.xique.common.core.web.domain.BaseEntity;

/**
 * 用户企业表对象 c_company
 *
 * @author ww
 * @date 2021-12-21
 */
@Data
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String name;

    /** 项目id */
    @Excel(name = "项目id")
    private Long parkId;

    /** 企业地址 */
    @Excel(name = "企业地址")
    private String address;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String scope;

    /** 税号 */
    @Excel(name = "税号")
    private String taxCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setParkId(Long parkId)
    {
        this.parkId = parkId;
    }

    public Long getParkId()
    {
        return parkId;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setScope(String scope)
    {
        this.scope = scope;
    }

    public String getScope()
    {
        return scope;
    }
    public void setTaxCode(String taxCode)
    {
        this.taxCode = taxCode;
    }

    public String getTaxCode()
    {
        return taxCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("parkId", getParkId())
            .append("address", getAddress())
            .append("scope", getScope())
            .append("taxCode", getTaxCode())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
